#include "VDialogPay.h"
#include "ui_VDialogPay.h"

VDialogPay::VDialogPay(EnmAction enmAction,QWidget *parent) :
    QDialog(parent),
    ui(new Ui::VDialogPay)
{
    ui->setupUi(this);

    switch(enmAction){
    case ENM_PAY_ZFB:
        ui->stackedWidget->setCurrentIndex(0);
        break;
    case ENM_PAY_WX:
        ui->stackedWidget->setCurrentIndex(1);
        break;
    case ENM_LIST:
        ui->stackedWidget->setCurrentIndex(2);
        break;

    default:
        break;
    }
}

VDialogPay::~VDialogPay()
{
    delete ui;
}
